Skip to content

Comments

Upgrade Deps#121

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade Deps#121
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies and development dependencies in the package.json file to their latest versions. The updates include both runtime and development packages, ensuring improved compatibility, security, and access to new features.

Dependency updates:

  • Updated core dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, dompurify, formik, javascript-time-ago, react-hook-form, react-router-dom, react-time-ago, simplebar, and styled-components to their latest versions.

Development dependency updates:

  • Updated development tools and type definitions, including @swc/core, @swc/helpers, @testing-library/dom, @types/react, jest-environment-jsdom, ts-jest, typescript, and vite to newer versions. [1] [2]

Summary by Sourcery

Update application and tooling dependencies to newer versions for improved compatibility and maintenance.

Build:

  • Bump various runtime dependencies (Deskpro SDK/UI, Sentry, React Query, form and routing libraries, and UI utilities) to newer minor/patch releases.
  • Update development and build-time tooling (SWC, Testing Library DOM, React type definitions, Jest environment, ts-jest, TypeScript, and Vite) to more recent versions.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:08
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 7, 2026

Reviewer's Guide

This pull request upgrades multiple runtime and development dependencies in package.json (and syncs pnpm-lock.yaml) to newer minor/patch versions, with no functional code changes in the app itself.

File-Level Changes

Change Details Files
Bump runtime dependencies to newer minor/patch versions and refresh the lockfile
  • Update Deskpro SDK and UI libraries to newer minor versions
  • Update Sentry React SDK and Vite plugin to newer minor versions
  • Bump core client libraries such as @tanstack/react-query, dompurify, formik, javascript-time-ago, react-hook-form, react-router-dom, react-time-ago, simplebar, and styled-components to newer minor/patch versions
  • Regenerate pnpm-lock.yaml to reflect updated dependency graph
package.json
pnpm-lock.yaml
Bump development and tooling dependencies to newer minor/patch versions
  • Update SWC core and helpers to more recent versions used for transpilation and Jest integration
  • Bump @testing-library/dom and React type definitions to newer versions
  • Update Jest-related tooling including jest-environment-jsdom and ts-jest
  • Upgrade TypeScript and Vite to newer minor versions for the build and type-checking toolchain
package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • Since jest remains on 29.x while jest-environment-jsdom is on 30.x, it’s worth double-checking that this cross‑major combination is intentional and that there are no subtle incompatibilities in your Jest config or test helpers.
  • The TypeScript bump to 5.9.x alongside ts-jest and @swc/jest updates may require small config tweaks (e.g., in tsconfig or jest transform settings), so it could be useful to confirm those still align with the new compiler behavior.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since `jest` remains on 29.x while `jest-environment-jsdom` is on 30.x, it’s worth double-checking that this cross‑major combination is intentional and that there are no subtle incompatibilities in your Jest config or test helpers.
- The TypeScript bump to 5.9.x alongside `ts-jest` and `@swc/jest` updates may require small config tweaks (e.g., in `tsconfig` or `jest` transform settings), so it could be useful to confirm those still align with the new compiler behavior.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the pnpm-lock.yaml file to reflect dependency version upgrades. The changes include updates to numerous runtime and development dependencies, upgrading packages like @deskpro/app-sdk, @sentry/react, @tanstack/react-query, styled-components, typescript, vite, and many others. The lockfile has been regenerated to ensure all transitive dependencies are properly resolved with the new versions.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant